package com.atguigu.tingshu.album.client.impl;


import com.atguigu.tingshu.album.client.AlbumInfoFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.AlbumInfo;
import com.atguigu.tingshu.vo.album.AlbumListVo;
import org.springframework.stereotype.Component;

@Component
public class AlbumInfoDegradeFeignClient implements AlbumInfoFeignClient {

    @Override
    public Result<AlbumInfo> getAlbumInfo(Long albumId) {
        System.out.println("页面起飞了===获得专辑信息时候");
        return null;
    }

    @Override
    public Result<AlbumListVo> getAlbumStatistics(Long albumId) {
        System.out.println("根据专辑ID获取专辑统计信息失败====导致您的页面起飞了  请检查代码后再试，牢底");
        return null;
    }
}
